### -*- coding: utf-8 -*- #############################################
# Разработано Паэглит Арвидом (http://arvid.dp.ua/)
# Все права защищены, 2007
#
# Developed by Paeglit Arvid (http://arvid.dp.ua/)
# All right reserved, 2007
#######################################################################
"""Vocabularies for the Zope 3 based diplom package

$Id: vocabulary.py 71 2008-03-12 03:05:17Z Arvi3D $
"""
__author__  = "Arvid"
__license__ = "GPL"
__version__ = "$Revision: 71 $"
__date__ = "$Date: 2008-03-12 03:05:17 +0000 (Wed, 12 Mar 2008) $"

from zope.app import zapi
from zope.interface import classProvides
from zope.schema.interfaces import IVocabularyFactory
from zope.app.component.vocabulary import UtilityVocabulary
from zope.schema.vocabulary import SimpleTerm, SimpleVocabulary

_ = lambda x : x

from diplom.interfaces import IDistributingFactory

class DistributingFactoriesVocabulary(UtilityVocabulary):
    classProvides(IVocabularyFactory)
    interface = IDistributingFactory
    nameOnly = True
